crypto/tls.serverHelloMsg.serverShare (field)
11 uses
crypto/tls (current package)
handshake_client_tls13.go#L215: if hs.serverHello.serverShare.group != 0 {
handshake_client_tls13.go#L332: if hs.serverHello.serverShare.group == 0 {
handshake_client_tls13.go#L336: if sentID, _ := curveIDForCurve(hs.ecdheKey.Curve()); hs.serverHello.serverShare.group != sentID {
handshake_client_tls13.go#L375: peerKey, err := hs.ecdheKey.Curve().NewPublicKey(hs.serverHello.serverShare.data)
handshake_messages.go#L643: serverShare keyShare
handshake_messages.go#L707: if m.serverShare.group != 0 {
handshake_messages.go#L710: exts.AddUint16(uint16(m.serverShare.group))
handshake_messages.go#L712: exts.AddBytes(m.serverShare.data)
handshake_messages.go#L862: if !extData.ReadUint16((*uint16)(&m.serverShare.group)) ||
handshake_messages.go#L863: !readUint16LengthPrefixed(&extData, &m.serverShare.data) {
handshake_server_tls13.go#L223: hs.hello.serverShare = keyShare{group: selectedGroup, data: key.PublicKey().Bytes()}
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |